package cc.iotkit.data.service;

import cc.iotkit.data.model.TbVirtualDevice;
import cc.iotkit.model.device.VirtualDevice;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Author: 石恒
 * @Date: 2023/7/27 22:06
 * @Description:
 */
public interface VirtualDeviceService extends IService<TbVirtualDevice> {
    List<TbVirtualDevice> findByTriggerAndState(String trigger, String state);

    Page<TbVirtualDevice> findByUid(String uid, int size, int page);
}
